﻿.content-left {
    float: left;
    margin: 40px 0px;
}

.mobile {
    width: 300px;
    height: 520px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.mobile-title {
    height: 35px;
    background: #000;
    text-align: center;
    line-height: 35px;
    color: #fff;
}

.mobile-body {
    height: calc(100% - 35px - 40px);
}

.mobile-menu {
    height: 40px;
    background: #fff;
    border-top: 1px solid #f1f1f1;
}

.mobile-menu-keyboard {
    float: left;
    width: 45px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url();
}

.mobile-menu-list {
    float: right;
    width: calc(100% - 45px);
    height: 100%;
}

.mobile-menu-list-item {
    width: calc(100% / 3);
    border-left: 1px solid #f1f1f1;
    float: left;
    height: 100%;
    display: table;
    position: relative;
}

    .mobile-menu-list-item .title {
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        font-size: 12px;
        cursor: pointer;
    }

.submenu {
    position: absolute;
    padding: 0px;
    margin: 0px;
    list-style: none;
    bottom: 55px;
    left: 10px;
    right: 10px;
}

    .submenu:before {
        bottom: -4px;
        display: inline-block;
        content: "";
        position: absolute;
        left: 50%;
        margin-left: -6px;
        width: 0;
        height: 0;
        border-width: 6px;
        border-style: dashed;
        border-color: transparent;
        border-bottom-width: 0;
        border-top-style: solid;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 5px solid #fff;
    }

    .submenu li {
        text-align: center;
        position: relative;
        height: 45px;
        line-height: 45px;
        cursor: pointer;
        padding: 0;
        border-top: 1px solid #f1f1f1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 2px;
        background: #fff;
        font-size: 12px;
    }

        .submenu li.active {
            border: 1px solid #0e9aef;
        }

            .submenu li.active:hover {
                border: 1px solid #0e9aef;
                padding: 2px;
            }

        .submenu li:hover {
            background-color: #f3f3f4;
            border: 1px solid #eee;
            padding: 2px;
        }

.content-right {
    float: left;
    margin: 40px 30px;
    width: calc(100% - 360px);
}
    .content-right .attr-box {
        width: 100%;
        height: 520px;
        border: 1px solid #ccc;
        border-radius: 2px;
    }